package cn.tedu.boot23.mapper;

import cn.tedu.boot23.entity.Hero;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper()
public interface HeroMapper {
    @Insert("insert into hero values(null,#{name},#{money}) ")
    void insert(Hero hero);
}
